{template "content","header"}

<!-- header -->
<header class="header clearfix" style=" position:absolute;top:0;left:0;z-index:99999;">
	<h3 class="fl"><a href="{$CATEGORYS[$catid][url]}" title="返回上一级"><img src="{IMG_PATH2}icon/back.png" alt="返回上一级"></a></h3>
</header>
<!-- / header -->

<section class="video_course">  
	<iframe src="{$video_url}" frameborder="0" style="display:block;width:100%;position:relative; z-index:1"></iframe>
</section>

<!-- main -->
<main class="main">
	<!-- 详情 -->
	<section class="courseDetail">
	<div class="courseDetail1 bgwhite">
		<h1>{$title}</h1>
		<p>{$small_content}</p>
	</div>
	<div class="h_10"></div>
	<div class="bgwhite padding15 borderNone">
		<div class="courseDetail2 courseDetail2_t">
			<?php $res_teacher = getTeacherInfo($one_teacher); ?>
			<div class="t2">授课讲师</div>
{if !!$res_teacher}
			<div class="courseDetail22 clearfix">
				<div class="courseDetail22_pic fl">
					<a href="{$res_teacher[url]}"><img src="{$res_teacher[thumb]}"></a>
					<div class="btn_atten"><a href="javascript:void(0);" class="btn_attention school js_like" data-catid="{$res_teacher[catid]}" data-id="{$res_teacher[id]}">关注</a></div>
				</div>
				<div class="courseDetail22_con">
					<a href="{$res_teacher[url]}">
						<div class="t2">{$res_teacher[title]}<img src="{IMG_PATH2}icon/r.png" class="r"></div>
						<div class="con1">{$res_teacher[titlename]}</div>
						<div class="con11">{$res_teacher[small_content]}</div>
					</a>
				</div>
			</div>
{/if}
		</div>
		<div class="courseDetail2 courseDetail2_j">
			<?php $res_team = getTeamInfo($one_team); ?>
			<div class="t2">授课机构</div>
{if !!$res_team}
			<div class="courseDetail22 clearfix">
				<div class="courseDetail22_pic fl">
					<a href="{$res_team[url]}"><img src="{$res_team[thumb]}"></a>
					<div class="btn_atten"><a href="javascript:void(0);" class="btn_attention school js_like" data-catid="{$res_team[catid]}" data-id="{$res_team[id]}">关注</a></div>
				</div>
				<div class="courseDetail22_con">
					<a href="{$res_team[url]}">
						<div class="t2">{$res_team[title]}<img src="{IMG_PATH2}icon/r.png" class="r"></div>
						<div class="con11">{$res_team[small_content]}</div>
					</a>
				</div>
			</div>
{/if}
		</div>
		<div class="courseDetail2">
			<div class="con1111 contendata">{$content}</div>
		</div>
	</div>
	</section>
	<!-- 相关视频 -->
	<div class="courseDetail2_t margin2">相关视频</div>
	<ul class="oList7">
{pc:content action="lists" catid="$catid" num="3" order="listorder desc"}
{loop $data $r}
	{if $id!=$r[id]}
		<li>
			<a class="clearfix" href="{$r[url]}">
				<div class="oList7Pic fl"><img src="{$r[thumb]}"></div>
				<div class="oList7Con">
					<div class="t3">{$r[title]}</div>
					<div class="oList2Record">
						<span class="v_time fl">{date('Y-m-d',$r[inputtime])}</span>
						<span class="v_record fl">{$r[num_view]}</span>
					</div>
				</div>
			</a>
		</li>
	{/if}
{/loop}
{/pc}
	</ul>
	<!-- 讲师相关 -->
	<div class="courseDetail2_t margin2">讲师相关</div>
	<ul class="oList7">
{php $where="one_teacher='$one_teacher'"}
{pc:content action="lists" catid="$catid" where="$where" num="3" order="listorder desc"}
{loop $data $r}
	{if $id!=$r[id]}
		<li>
			<a class="clearfix" href="{$r[url]}">
				<div class="oList7Pic fl"><img src="{$r[thumb]}"></div>
				<div class="oList7Con">
					<div class="t3">{$r[title]}</div>
					<div class="oList2Record">
						<span class="v_time fl">{date('Y-m-d',$r[inputtime])}</span>
						<span class="v_record fl">{$r[num_view]}</span>
					</div>
				</div>
			</a>
		</li>
	{/if}
{/loop}
{/pc}
	</ul>
</main>
<!--main end-->
<!-- / main -->

<div class="h_55"> </div>
<footer class="ft_course">
	<ul class="clearfix">
		<li class="icon_share"><a href="javascript:void(0);"><i></i><span>{$num_share}</span></a></li>
		<li class="icon_zan"><a href="javascript:void(0);" data-catid="{$catid}" data-id="{$id}"><i></i><span>{$num_like}</span></a></li>
		<li class="icon_sh"><a href="javascript:void(0);" class="btn_att js_like" data-catid="{$catid}" data-id="{$id}" data-text="0"><i></i></a></li>
		<li class="icon_mycourse"><a href="javascript:void(0);">我要来讲</a></li>
	</ul>
</footer>

{template "content","share"}

{template "content","footer"}